<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class auth_dict extends CI_Controller {

	public function __construct(){
		parent::__construct();
	}	
	public function index()
	{
		$cookie = array(
					'name'   => 'url',
					'value'  => $this->input->get('url', TRUE),
					'expire' => '99999999999'
				);
		$this->input->set_cookie($cookie);
		$this->load->view("auth");
	}
	public function get_user($userID){
		$this->load->Model("auth");
		$user['user'] = $this->auth->get_User($userID);
		$this->load->view("auth",$user);
	}
}